import mx.collections.ArrayCollection;
import mx.rpc.events.ResultEvent;

[Bindable]
private var topArtists:ArrayCollection;

private function handleTopArtists(event:ResultEvent):void
{
	topArtists = new ArrayCollection();
	var xmlResult:XML = new XML(event.result);
	for each(var a:XML in xmlResult.Artist){
    	topArtists.addItem(a);
    }
}

private function loadTopArtists():void
{
	topArtistsXml.send();   	
}